package com.ys.controller.api.purchase;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.ys.entity.purchase.TcgPurchaseAppointOrderItem;
import com.ys.service.sys.CommonApiService;
import com.ys.vo.LayuiTableVoJA;

@Controller
@RequestMapping("/api/inter/tcgPurchaseAppointOrderItem")
public class ApiInterTcgPurchaseAppointOrderItemController {
	
//	private static final Logger logger = Logger.getLogger(ApiAdminLoginController.class);
	
	@Autowired
	private CommonApiService<TcgPurchaseAppointOrderItem> commonApiService;
//	@Autowired
//	private TpStaticConfigService tpFbaPlanOrderService;

//	@RequiresPermissions("tpFbaPlanOrder:view")
	@RequestMapping("/search")
    @ResponseBody
	public LayuiTableVoJA search(@ModelAttribute TcgPurchaseAppointOrderItem cond){
		
		
		return commonApiService.searchLay(cond);
	}
}
